package com.ap.core.domain;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.TypeDef;

/**
 * User: Rohit.Dixit
 */
@Entity
@Table(name = "T_DISTRIBUTOR_ENDPOINT_URL")
@AttributeOverride(name = "id",column = @Column(name = "ENDPOINT_URL_ID"))
@TypeDef(name = "id", typeClass = Long.class)
public class DistributorEndPointUrl extends Identifiable<Long> {

	private static final long serialVersionUID = 5180845106091590283L;

	@Column(name = "SITE_NAME")
    private String siteName;

    @Column(name = "ENDPOINT_URL")
    private String endpointUrl;

    @Column(name = "DISTRIBUTOR_ID")
    private Long distributorId;

    
    

    private DistributorEndPointUrl(){}




	public String getSiteName() {
		return siteName;
	}




	public String getEndpointUrl() {
		return endpointUrl;
	}




	public Long getDistributorId() {
		return distributorId;
	}


}
